package com.api.shopapi.service;

import com.api.shopapi.entity.CardRecord;
import com.api.shopapi.entity.dto.CardRecordDTO;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

@Service
public interface CardRecordService {

    int insert(CardRecord cardRecord);

    PageInfo<CardRecordDTO> getPage(int pageIndex,int pageSize,String governmentCode,String cardNumber,String name);
}
